<?php
defined('InNcPHP') or exit('Access Invalid!');

$config = array();
// 应用地址
$config['wx_site_url'] 		    = 'http://yin.lvbangw.com';
$config['api_site_url'] 		= '/api';
$config['admin_site_url'] 		= '/admin';
$config['upload_site_url']		= '/data/upload';
// 系统版本安装日期
$config['version'] 				= 'ncphp20170202';
$config['setup_date'] 			= '2017-02-02 00:00:00';
$config['gzip'] 				= 0;
// 数据库配置
$config['dbdriver'] 			= 'mysqli';
$config['tablepre']				= 'nc_';

/*$config['db'][1]['dbhost']  	= '118.31.3.36';
$config['db'][1]['dbport']		= '3306';
$config['db'][1]['dbuser']  	= 'lxq';
$config['db'][1]['dbpwd'] 	 	= 'abc123';
$config['db'][1]['dbname']  	= 'db_lpshotel';
$config['db'][1]['dbcharset']   = 'utf-8';*/

/*$config['db'][1]['dbhost']  	= '192.168.1.15';
$config['db'][1]['dbport']		= '3306';
$config['db'][1]['dbuser']  	= 'admin';
$config['db'][1]['dbpwd'] 	 	= 'admin!@#123';
$config['db'][1]['dbname']  	= 'lps.shop.com';
$config['db'][1]['dbcharset']   = 'utf-8';*/

$config['db'][1]['dbhost']  	= 'rm-n7mlr01ph3l599h7r.mysql.guizhout.rds.aliyuncs.com';
$config['db'][1]['dbport']		= '3306';
$config['db'][1]['dbuser']  	= 'gzrb';
$config['db'][1]['dbpwd'] 	 	= 'gzrb0609';
$config['db'][1]['dbname']  	= 'db_lvyou';
$config['db'][1]['dbcharset']   = 'utf-8';

/*$config['db'][1]['dbhost']  	= '127.0.0.1';
$config['db'][1]['dbport']		= '3306';
$config['db'][1]['dbuser']  	= 'root';
$config['db'][1]['dbpwd'] 	 	= 'root';
$config['db'][1]['dbname']  	= 'lps.shop.com';
$config['db'][1]['dbcharset']   = 'utf-8';*/


// Session过期等基本配置
$config['session_expire'] 				= 3600;
$config['lang_type'] 					= 'zh_cn';
$config['cookie_pre'] 					= 'NcPHP_';
$config['tpl_name'] 					= 'default';
// 图片缩略图与水印
$config['thumb']['cut_type']			= 'gd';
$config['thumb']['impath']  			= '';
// 系统缓存类型
$config['cache']['type'] 				= 'file';
// Memcache 缓存配置
$config['memcache']['prefix']      		= 'NcPHP_';
$config['memcache'][1]['port']     		= 11211;
$config['memcache'][1]['host']     		= '127.0.0.1';
$config['memcache'][1]['pconnect'] 		= 0;
$config['memcache'][2]['port']     		= 11211;
$config['memcache'][2]['host']     		= '127.0.0.1';
$config['memcache'][2]['pconnect'] 		= 0;
// Redis 缓存配置
$config['redis']['prefix']      		= 'NcPHP_';
$config['redis']['master']				= array();
$config['redis']['master']['port']     	= 6379;
$config['redis']['master']['host']     	= '127.0.0.1';
$config['redis']['master']['pconnect'] 	= 0;
$config['redis']['slave']      	    	= array();
$config['redis']['slave']['port']      	= 6379;
$config['redis']['slave']['host']     	= '127.0.0.1';
$config['redis']['slave']['pconnect'] 	= 0;
// 全文搜索引擎 Xunsearch
$config['fullindexer']['open']      	= false;
$config['fullindexer']['appname']   	= 'ncphp';
// 调试配置
$config['debug'] 						= false;
// 是否开启伪静态
$config['url_model'] 					= true;
?>